package org.activequant.dao.hibernate;

import org.activequant.core.domainmodel.data.TickerNews;
import org.activequant.dao.ITickerNewsDao;
import org.hibernate.SessionFactory;
/**
 * TickerNewsDao extends MarketDataEntityBase&lt;TickerNews&gt; implements ITickerNewsDao.<br/>
 * Holds the following inherited variables:
 * <ul>
 * <li>clazz(Class&lt;TickerNews&gt;)</li>
 * <li>hibernateTemplate(HibernateTemplate)</li>
 * </ul> 
 */
public class TickerNewsDao extends MarketDataEntityBase<TickerNews> implements ITickerNewsDao {
	/**
	 * Constructs a TickerNewsDao(extends MarketDataEntityBase&lt;TickerNews&gt; implements ITickerNewsDao) whose inherited clazz(Class&lt;T&gt;) is set to <code>TickerNews.class</code>.
	 */
	public TickerNewsDao() {
		super(TickerNews.class);
	}
	/**
	 * Constructs a TickerNewsDao(extends MarketDataEntityBase&lt;TickerNews&gt; implements ITickerNewsDao) whose inherited clazz(Class&lt;T&gt;) is set to <code>TickerNews.class</code>.<br/>
	 * The given sessionFactory(SessionFactory) is used to set its Hibernate SessionFactory and create/initialize the inherited hibernateTemplate(HibernateTemplate) for it.
	 * @param sessionFactory
	 */
	public TickerNewsDao(SessionFactory sessionFactory) {
		super(TickerNews.class, sessionFactory);
	}
}